package cn.edu.cug.cs.gtl.docsrv.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ftp")
public class FTPConfig {
    private String ftpIP;
    private int ftpPort;
    private String ftpUser;
    private String ftpPassword;
    private String ftpWorkingDirectory;
    private String ftpType;

    public String getFtpIP() {
        return ftpIP;
    }

    public void setFtpIP(String ftpIP) {
        this.ftpIP = ftpIP;
    }

    public int getFtpPort() {
        return ftpPort;
    }

    public void setFtpPort(int ftpPort) {
        this.ftpPort = ftpPort;
    }

    public String getFtpUser() {
        return ftpUser;
    }

    public void setFtpUser(String ftpUser) {
        this.ftpUser = ftpUser;
    }

    public String getFtpPassword() {
        return ftpPassword;
    }

    public void setFtpPassword(String ftpPassword) {
        this.ftpPassword = ftpPassword;
    }

    public String getFtpWorkingDirectory() {
        return ftpWorkingDirectory;
    }

    public void setFtpWorkingDirectory(String ftpWorkingDirectory) {
        this.ftpWorkingDirectory = ftpWorkingDirectory;
    }

    public String getFtpType() {
        return ftpType;
    }

    public void setFtpType(String ftpType) {
        this.ftpType = ftpType;
    }
}
